ContentEgg\application\helpers\TemplateHelper D

Total Complexity 266
Dependencies 13
Dependents 13
Total lines 1,062
Lines of code 797
Logical lines of code 492
Comment lines 40
Methods 71
Properties 2

Methods 71

Method Rating Maintainability Complexity Lines of code
sortByPrice()
C
37 28 70
getMerchantImageUrl()
B
44 18 37
replacePatterns()
A
46 12 40
filterData()
A
52 11 24
getStockStatusStr()
A
56 9 17
getMerhantName()
A
54 8 21
getMerhantLogoUrl()
S
55 7 18
getTimeLeft()
S
51 6 25
truncate()
S
53 6 22
getGroupsList()
S
55 5 20
priceHistoryMorrisChart()
S
48 4 32
getCustomLogo()
S
58 5 16
generateAddAllToCartUrl()
S
57 5 15
getMerhantIconUrl()
S
59 5 12
getStockStatusClass()
S
61 5 12
viewMorrisChart()
S
53 4 22
getAmazonLink()
S
63 5 10
btnText()
S
60 4 14
getShopsList()
S
60 4 14
adjustBrightness()
S
58 4 13
getDaysAgo()
S
59 4 13
filterByGroup()
S
61 4 12
filterDataByModule()
S
62 4 11
findAmazonLocales()
S
62 4 11
priceChangesProducts()
S
58 3 16
getCommonCurrencyCode()
S
63 4 10
isModuleDataExist()
S
65 4 9
hideParamPrepare()
S
63 4 9
sortAllByPrice()
S
62 3 12
getLastUpdate()
S
62 3 11
mergeData()
S
64 3 11
getCashbackStr()
S
67 3 7
printRel()
S
65 3 9
printRating()
S
65 3 8
formatPriceCurrency()
S
64 3 9
number_format_i18n()
S
64 3 9
getMerchantLogoDir()
S
63 3 10
getLastUpdateFormattedAmazon()
S
64 3 9
getLastUpdateFormatted()
S
64 3 9
filterDataByType()
S
63 3 10
priceHistoryPrices()
S
61 2 12
getAssociateTagForAmazonLocale()
S
70 2 6
priceHistoryMin()
S
70 2 5
formatDatetime()
S
65 2 9
getPriceColor()
S
72 2 5
getButtonColor()
S
72 2 5
dateFormatFromGmt()
S
67 2 7
isCashbackTrakerActive()
S
71 2 6
priceHistoryMax()
S
70 2 5
getPrivacyUrl()
S
70 2 6
getNameFromDomain()
S
67 2 7
priceHistorySinceDate()
S
72 2 5
getCurrentUserEmail()
S
73 2 5
getRelValue()
S
75 1 4
getMinPriceItem()
S
78 1 3
price_format_i18n()
S
77 1 3
getBlankImg()
S
79 1 3
getButtonColorHower()
S
78 1 3
getCurrencyName()
S
80 1 3
formatDate()
S
78 1 3
getCurrencySymbol()
S
80 1 3
splitAttributeName()
S
78 1 3
isPriceAlertAllowed()
S
78 1 3
buyNowBtnText()
S
77 1 3
couponBtnText()
S
77 1 3
generateGlobalId()
S
79 1 3
getCurrencyPos()
S
80 1 3
getAmazonDisclaimer()
S
79 1 3
getMaxPriceItem()
S
78 1 3
printAmazonDisclaimer()
S
78 1 3
currencyTyping()
S
80 1 3